package jin.si;

import jin.si.controller.ShoppingController;
import jin.si.pojo.JsUserAddress;
import jin.si.pojo.JsUserCoupon;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import javax.servlet.Servlet;
import java.util.Date;
import java.util.List;
import java.util.logging.Logger;

        @SpringBootApplication
        @MapperScan(basePackages = "jin.si.dao")
        @EnableTransactionManagement
        @ServletComponentScan
        public class JinsiJavaApplication {

            public static void main(String[] args) {
                SpringApplication.run(JinsiJavaApplication.class, args);
                Logger global = Logger.getGlobal();
                global.info("运行成功");
                //System.out.println(sum());

            }
}
